package net.magicalcloud.magicalcloud.model;

import net.magicalcloud.magicalcloud.entity.RestJson;
import net.magicalcloud.magicalcloud.entity.User;
import net.magicalcloud.magicalcloud.listener.CloudListener;

import retrofit2.Callback;

/** 用户model接口
 * Created by Pei on 2018/6/6.
 */

public interface IUserModel {

    /**
     * 查询用户
     * @param email 用户
     */
    void findUserByEmail(String email, String password, CloudListener<User> listener);

}
